package com.hycreate.platform.modules.project.product;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;
import com.hycreate.platform.modules.project.product.SfProjectProduct;
import com.hycreate.platform.modules.project.product.SfProjectProductDao;

/**
 * 项目产品关系Service
 * @author hoader
 * @version 2017-01-11
 */
@Service
@Transactional(readOnly = true)
public class SfProjectProductService extends CrudService<SfProjectProductDao, SfProjectProduct> {

	public SfProjectProduct get(String id) {
		return super.get(id);
	}
	
	public List<SfProjectProduct> findList(SfProjectProduct sfProjectProduct) {
		return super.findList(sfProjectProduct);
	}
	
	public Page<SfProjectProduct> findPage(Page<SfProjectProduct> page, SfProjectProduct sfProjectProduct) {
		return super.findPage(page, sfProjectProduct);
	}
	
	@Transactional(readOnly = false)
	public void save(SfProjectProduct sfProjectProduct) {
		super.save(sfProjectProduct);
	}
	
	@Transactional(readOnly = false)
	public void delete(SfProjectProduct sfProjectProduct) {
		super.delete(sfProjectProduct);
	}
	
}